import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      component: () => import('../views/UserLogView.vue'),
    },
    {
      path: '/typeList',
      component: () => import('../views/TypeListView.vue'),
    },
    {
      path: '/nuberAdd',
      component: () => import('../views/NuberAddView.vue'),
    },
    {
      path: '/nuberlist',
      component: () => import('../views/NuberListView.vue'),
    },
    {
      path: '/nuberEdit',
      component: () => import('../views/NuberEditView.vue'),
    },
    {
      path: '/roomAdd',
      component: () => import('../views/RoomAddView.vue'),
    },
    {
      path: '/roomList',
      component: () => import('../views/RoomListView.vue'),
    },
    {
      path: '/typeAdd',
      component: () => import('../views/TypeAddView.vue'),
    },
    {
      path: '/gOGOGO',
      component: () => import('../views/GOGOGOView.vue'),
    },
  ],
})

export default router
